import Vue from 'vue';
import App from './main.vue';
import router from './config/routers.js'

import './assets/main.less';

import { AlertPlugin, ToastPlugin , LoadingPlugin,ConfirmPlugin } from 'vux'
Vue.use(AlertPlugin)
Vue.use(ToastPlugin)
Vue.use(LoadingPlugin)
Vue.use(ConfirmPlugin)

Vue.config.debug = false;

import Global from './config/global'
Vue.prototype.Global = Global

new Vue({
    el: '#app',
    router: router,
    render: h => h(App)
});